package com.github.aloxc.plugin.restplus.annotations;

import com.github.aloxc.plugin.DonotGuard;


/**
 *
 * @author leero
 */
public enum SpringRequestParamAnnotations {

    /**
     * REQUEST_PARAM
     */
    @DonotGuard
    REQUEST_PARAM("RequestParam", "org.springframework.web.bind.annotation.RequestParam"),

    /**
     * REQUEST_BODY
     */
    @DonotGuard
    REQUEST_BODY("RequestBody", "org.springframework.web.bind.annotation.RequestBody"),

    /**
     * PATH_VARIABLE
     */
    @DonotGuard
    PATH_VARIABLE("PathVariable", "org.springframework.web.bind.annotation.PathVariable"),

    /**
     * REQUEST_ATTRIBUTE
     */
    @DonotGuard
    REQUEST_ATTRIBUTE("PathVariable", "org.springframework.web.bind.annotation.RequestAttribute"),
    /**
     * REQUEST_HEADER
     */
    @DonotGuard
    REQUEST_HEADER("RequestHeader", "org.springframework.web.bind.annotation.RequestHeader");
    SpringRequestParamAnnotations(String shortName, String qualifiedName) {
        this.shortName = shortName;
        this.qualifiedName = qualifiedName;
    }

    private String shortName;
    private String qualifiedName;

    public String getQualifiedName() {
        return qualifiedName;
    }

    public String getShortName() {
        return shortName;
    }

}